
<div th:fragment="nav" class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">

            <li class="layui-nav-item ">
                <a class="" href="javascript:;">写博客</a>
                <dl class="layui-nav-child">
                    <dd><a th:href="@{/article/write}">写文章</a></dd>
                    <!--<dd><a href="javascript:;">修改文章</a></dd>-->
                </dl>
            </li>

            <li class="layui-nav-item">
                <a href="javascript:;">写书</a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;">写新书</a></dd>
                    <dd><a href="javascript:;">继续书写</a></dd>
                </dl>
            </li>

        </ul>
    </div>
</div>
